home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
dupe100.zip
/
THEDOCS.DOC
< prev
Wrap
Text File
|
1991-06-19
|
5KB
|
113 lines
DUPE - RBBS-PC Duplicate File Finder.
Version 1.00 Beta.
June 17, 1991
By Tom Hansen, Sysop
Church Chatters BBS
DGS Systems Group (Tango)
DATA1: 402-593-8863
DATA2: 402-592-9266 Contributers and Registered RBBS Sysops
This utility was written to be used in conjunction with Ken Goosen's
MAKEFIDX utility for the FFS sturcture. It reads the FIDX.DEF file
for finding duplicates within that file and then gives you the option
to delete those duplicates.
Why I wrote it: Well, I had a ton of duplicate files. I found it
too tedious to look through the FIDX.DEF file and then reference the
LIDX.DEF file and count down the list to match the count with the
number beside the duplicate file I wanted to delete. I figured there
was an easier way to do it but didn't want to spend alot of time in
search for the software to do it. So....I wrote my own: a utility that
would search the FFS for duplicate files and then offer the opttion
to delete them. It didn't take me nearly as long to write the utility
in its raw form as it would have taken to do the job by hand. Once it
was written and did the job for me some color and some error checking
were added and so now am turning it out to the RBBS community. This
utility literally saved me hours of work! I hope you find it does the
same for you.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.) Place DUPE.EXE in an empty subdirectory.
2.) Run your FFS batch file to be sure your file search list is up-to-
date.
3.) Write your DUPE.CFG with a text editor intidating the full path of
your LIDX.DEF and FIDX.DEF files or equivilants if you do not use
those names.
C:\RBBS\LIDX.DEF
C:\RBBS\FIDX.DEF
4.) Run DUPE.EXE - If you want to run this in batch mode
in a timed event add the parameter
"b" commandline: " dupe.exe b "
This will not delete files but give
you some good info on the size and
attriutes of the duplicate and first
found files with the file date.
If you don't run the program in batch
mode you will be able to view the files
before deleting and will be prompted to
delete the file. No files will be de-
leted unless you tell the program to do
so.
4.) Presto! Two minutes of deleting dupes or collecting information
on duplicate files is much better than 2 hours of doing it by hand!
Would you agree ? (Y/N): __
5.) Run your FFS batch file to bring your file listings up to date.
After running DUPE.EXE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This utility will NOT delete any files other than ones it creates for it's
own use UNLESS you tell it to.
This utility creates some files for your convenience if you choose not to
delete the files from within the utility itself. They are as follows:
1. DUPE.FLS <------Complete listing of Duplicate files found in your FFS
System.
2. LSTDUPE.LOG <----These files are files that are found in your FFS that
are also listed in your macro files as Offline files
or for other reasons. You may or may not want to
delete these ( or any files for that matter).
3. FILELIST.LOG <-- If DUPE finds duplicate listings in your filelist
listings it will list them in this file. These are not
files on disk necessarily but files that are listed in
the text files processed by MAKEFIDX.
4. FIRST.DOC <-- List's the first occurance of a file when duplicates
are found.
5. FILEINFO.TXT <-- CRC / Size time and date listing of each duplicate.
If you choose not to delete files the 0 byte files you
find in DUPE's subdirectory are files created and ready
to record the names of files depending on which ones you
choose to delete.
6. DUPEDEL.LST <-- A listing of files you deleted while in the program.
That's it!
If you like this utility let me know and I'll write more. If you don't
like it, be nice!
Thanks to Jose Romero
Dan Shore
Jerry Oliver
Gregg Snyder for helping test this utility.
Tom Hansen, Sysop
Church Chatters BBS